package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.PurchaseListGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PurchaseListGoodsMapper extends BaseMapper<PurchaseListGoods> {

    List<PurchaseListGoods> list(@Param("purchaseNumber") String purchaseNumber,
                                 @Param("supplierId") Integer supplierId,
                                 @Param("state") Integer state,
                                 @Param("sTime") String sTime,
                                 @Param("eTime") String eTime);

    List<PurchaseListGoods> getPurListGoods(@Param("purchaseListId")
                                                    Integer purchaseListId, @Param("goodsTypeId") Integer goodsTypeId,
                                            @Param("codeOrName") String codeOrName,
                                            @Param("typeId") Integer typeId);
}
